<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<?php include_http_metas() ?>
<?php include_metas() ?>

<?php include_title() ?>

<link rel="shortcut icon" href="/favicon.ico" />

</head>


<body onload="stripeTables('table1','#fff');">
<?php 	if ($this->getContext()->getUser()->isAuthenticated()) { ?>
 <div class="usermenu" style="width:99%;padding:3px;color:#000;font-size:10px;background-color:#fff;text-align:right;position:absolute;">Welcome, 
    
<?php

	echo $sf_user->getFullName();
	echo ' ['.link_to('My Profile', 'user/edit?id='.$sf_user->getSignedUserId());  
	echo ', '.link_to('Sign out', 'user/logout'); 
	

	// Modal Lightbox plugin
	/*$link_options = array(
	    'title' => 'Google Gtalk Gadget',
		'width' => '400px',
		'height'=> '490px'
	);    */

	//echo ', '.lw_link('Chat', '#chatbox', $link_options);

	echo ']';	
	
?>&nbsp;

  </div>
<?php } else { ?>

 <div class="usermenu" style="width:99%;padding:3px;color:#000;font-size:10px;background-color:#fff;text-align:right;position:absolute;">
 
 <?php 
 	echo link_to('Sign-in', 'user/login'); 
?> 

</div>

<?php } ?>



<div id="header" style="width:100%;text-align:center;padding-top:20px;padding-bottom:10px" align="center">



			<?php echo link_to('TechIndex','/','class="whitelinkalpha" onMouseover="ddrivetip(\'Back to the front!\', 170);" onMouseout="hideddrivetip();"'); ?>


</div>



<div align="center" style="width:100%;background-color:#2c2c2c;">

		<div style="width:900px;">
		
		
		

		</div>

</div>




<div align="center" style="width:100%;">


		<div style="width:900px;text-align:left;">
		
<?php echo $sf_data->getRaw('sf_content') ?>
		</div>

</div>
<br>
<Br>

<div align="center" style="width:100%;">


		<div style="width:900px;text-align:center;color:#ccc">
		
TechIndex by <Br><a href="http://www.devunity.com"><img src="/images/devunity_logo_small.gif"></a>

		</div>
</div>
<Br>
<Br>


<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6722968-7");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>
